#ifndef __WIFI_H
#define __WIFI_H

#include "main.h"

#define wifi_uart_rx
#define wifi_uart_tx

#define WIFI_BUFF_SIZE 15

extern volatile  uchar wifi_rx_buff[WIFI_BUFF_SIZE];
extern volatile  uchar wifi_rx_count;
extern volatile  uchar wifi_rx_ok;

void wifi_init(void);
void wifi_send(uchar *);

#ifdef __SDCC
void wifi_rx_it(void) interrupt 4;
#endif

#endif

